define(function (require) {
    var $ = require("jquery");
    var SuperbUtil = require('SuperbUtil');
    var IssueUtil = require('IssueUtil');
    var ItUtil = require('ItUtil');
    require("datetimepicker")($);
    SuperbUtil.initUniform();
    // handles main menu
    SuperbUtil.handleSidebarMenu();
    // handles sidebar hide/show
    SuperbUtil.handleSidebarToggler();
    //handles scroll to top functionality in the footer
    SuperbUtil.handleGoTop();

    ItUtil.getEcsList('mysql');
    ItUtil.getMysqlMasterList();

    ItUtil.bindAddMysqlButtonEvent();
    ItUtil.bindAddMysqlSelectSlaveEvent();
    ItUtil.bindAddMysqlWindowCloseEvent();
    ItUtil.bindSaveMysqlButtonEvent(function () {
        ItUtil.refreshList();
    });
});